package sugarbind_input

class Agent_Synonym {

    String agent_Synonym_Name
    
	static constraints = {
		agent_Synonym_Name(blank:false)
		agent_Synonym_Name(unique:true)
	}
	
	static hasOne = [agent: Agent]
	
	static mapping = {
//		id column: 'agent_synonym_id'
		id generator: 'sequence', params: [sequence: 'agent_synonym_id_seq']
	}
	
	public String toString(){
		agent_Synonym_Name
	}
}
